import QtQuick 2.0

Rectangle{
    width: 560; height: 40
    color: "grey"

    property string title: "Hello, Wolrd. This is a QtQuick Application."
    Rectangle{
        id: mark
        border.width: 1
        radius: 4
        width: 30; height: width
        anchors.left: parent.left
        anchors.leftMargin: 20
        anchors.top: parent.top
        anchors.topMargin: 5
        color: parent.color
        Image {
            anchors.fill: parent
            source: "images/mark.png"
        }
    }

    Rectangle{
        id: label
        height: 40
        anchors.left: mark.right
        anchors.leftMargin: 5
        anchors.verticalCenter: parent.verticalCenter
        Text {
            color: "lightGreen"
            anchors.left: parent.left
            anchors.verticalCenter: parent.verticalCenter
            text: title
            font { bold: true; pixelSize: 20; family: "source code pro";}
        }
    }
}
